{template "topic_header"}

<div class="c_icon"></div>
<div class="main">
  <div class="main_left">
		<!--{if $view=='index'}-->
			<!--{loop $all_list $value}-->
			<div class="mygroup">
				<h2>$value['title']({$value['row_nums']})</h2>
				<!--{if $value['row_nums'] > 0}-->
        <div class="mg_box">
        	<ul class="g_plist3">
				<!--{loop $value['list'] $data}-->
				<li>
                	<a href="index.php?mod=qun&qid={$data['qid']}" title="{$data['name']}" class="pic"><img src="{$data['icon']}" /></a>
                	<h3><a href="index.php?mod=qun&qid={$data['qid']}" title="{$data['name']}">{$data['name']}</a></h3>
                    <p>群号:{$data['qid']}</p>
                    <div class="info">
                    	<span class="rb"><a href="#">{$data['thread_num']}</a><br />发言</span>
                        <span class="rb"><a href="#">{$data['member_num']}</a><br />成员</span>
                        <span><a href="#">{$data['topic_num']}</a><br />话题 </span>
                    </div>
				</li>
						<!--{/loop}-->
					</ul>
					<div class="float_both"></div>
					<div style="text-align:right;"><a href="index.php?mod=qun&code=profile&view={$value['code']}">查看全部>></a></div>
				</div>
				<!--{/if}-->
			</div>
			<!--{/loop}-->
		<!--{else}-->

			<div class="mygroup">
				<h2>{$title}({$qun_list['row_nums']})</h2>
				<!--{if $qun_list['row_nums'] > 0}-->
				<div class="mg_box">
					<ul class="g_plist3">
					<!--{loop $qun_list['list'] $value}-->
						<li>
							<a href="index.php?mod=qun&qid={$value['qid']}" title="{$value['name']}" class="pic"><img src="{$value['icon']}" /></a>
							<h3><a href="index.php?mod=qun&qid={$value['qid']}" title="{$value['name']}">{$value['name']}</a></h3>
							<p>群号:{$data['qid']}</p>
							<div class="info">
								<span class="rb"><a href="#">123</a><br />发言</span>
								<span class="rb"><a href="#">321</a><br />成员</span>
								<span><a href="#">112</a><br />话题 </span>
							</div>
						</li>
						<!--{/loop}-->
					</ul>
					<div class="float_both"></div>
				</div>
				<!--{/if}-->
			</div>		
		<!--{/if}-->
    </div>

<!--右边栏目 Begin-->
{subtemplate qun/qun_right}
<!--右边栏目 End-->

 
<!--{if $this->Config[ad_enable]}-->
<div align="center" class="T_AD"> {$this->Config[ad][ad_list][qun][footer]} </div>
<!--{/if}-->
{template "topic_footer"}